<script setup>
import Board from '@renderer/components/board/index.vue'
import Entry from './views/entry.vue'
import { subscriberIns } from './utils/helper'
window.$bus = subscriberIns
// 接收主进程消息
window.electron.ipcRenderer.on('msgRev', (_, data) => {
  // 进行订阅发送
  window.$bus.emit(data.type, data.data)
})
// const ipcHandle = () => window.electron.ipcRenderer.send('ping')
</script>

<template>
  <!-- <Board /> -->
  <Entry />
</template>
